package org.dmcs.homework.statistics.classifiers.api;

import java.util.List;

/**
 * Calculates the distance between classes.
 * @author Zielony
 * @version 1.0
 */
public interface IClassDistanceCalculator {
	/**
	 * Calculates the distance between two classes in a given data set and for a given feature set.
	 * @param classOne the indices of the points belonignig to the first class.
	 * @param classTwo the indices of the points belonging to the second class.
	 * @param featureSet the indices of the features considered.
	 * @param data the data set as <code>double[][]</code> where the rows represent the features while the columns
	 * represent the points.
	 * @return
	 */
	public double calculateClassDistance(List<Integer> classOne, List<Integer> classTwo, int[] featureSet, double[][] data);
}
